﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster.Master" AutoEventWireup="true" CodeBehind="AddNewEquip.aspx.cs" Inherits="Design.WebForm6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style22
        {
            width: 100%;
        }
        .style23
        {
            width: 188px;
        }
        .style24
        {
            width: 291px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <table class="style22">
        <tr>
            <td colspan="3">
            <asp:label ID="lbltab" runat="server" Text="Add New Equipment" Font-Size="XX-Large" ForeColor="#FF6600" />
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                <asp:Label ID="lblEquipID" runat="server" Text="Equipment ID : "></asp:Label>
                </td>
            <td class="style24">
                <asp:TextBox ID="txtEquipID" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RegularExpressionValidator ID="rfvID" runat="server" 
                    ControlToValidate="txtEquipID" ErrorMessage="*" ForeColor="Red"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style23">
            <asp:Label ID="lblEquipName" runat="server" Text="Equipment Name : "></asp:Label>
                &nbsp;</td>
            <td class="style24">
                <asp:TextBox ID="txtEquipName" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RegularExpressionValidator ID="rfvName" runat="server" 
                    ControlToValidate="txtEquipName" ErrorMessage="*" ForeColor="Red"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style23">
            <asp:Label ID="lblEquipDesc" runat="server" Text="Equipment Description : "></asp:Label>
                &nbsp;</td>
            <td class="style24">
                <asp:TextBox ID="txtEquipDesc" runat="server" Height="120px" Width="206px" 
                    TextMode="MultiLine"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
            <asp:Label ID="lblPrice" runat="server" Text="Equipment Price : "></asp:Label>
                &nbsp;</td>
            <td class="style24">
                <asp:TextBox ID="txtEquipPrice" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RegularExpressionValidator ID="rfvPrice" runat="server" 
                    ControlToValidate="txtEquipPrice" ErrorMessage="*" ForeColor="Red"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style23">
            <asp:Label ID="lblImage" runat="server" Text="Equipment Image : "></asp:Label>
                &nbsp;</td>
            <td class="style24">
                <asp:FileUpload ID="flpImageUpload" runat="server" Width="213px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
            <!--next item -->
                &nbsp;</td>
            <td class="style24">
                <asp:Button ID="btnAddEquip" runat="server" Text="Add Equipment" 
                    onclick="btnAddEquip_Click" />
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                &nbsp;</td>
            <td class="style24">
                <asp:Label ID="lblMsg" runat="server" />
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                &nbsp;</td>
            <td class="style24">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>

</asp:Content>
